package com.rental.web.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rental.model.form.house.SubletHouseAddForm;
import com.rental.model.form.house.SubletHousePageForm;
import com.rental.model.vo.house.SubletHouseInfoVo;
import com.rental.model.vo.house.SubletHousePageVo;

public interface SubletHouseService {
    Page<SubletHousePageVo> getSubletHousePage(Integer page, Integer size, SubletHousePageForm subletHousePageForm);

    SubletHouseInfoVo getSubletHouseInfoById(Long id, Long uid);

    Boolean addSubletHouse(SubletHouseAddForm subletHouseAddForm);

    Boolean downHouse(Long id, Long uid);

    String getContactWechat(Long id, Long uid);

    String getContactPhone(Long id, Long uid);

    Boolean deleteSubletHouse(Long id, Long uid);

    Boolean collectHouse(Long id, Long uid);

    Boolean cancelCollectHouse(Long id, Long uid);

    Integer accusation(Long id, Long userId);
}
